package boot.spring.service;

import boot.spring.po.Actor;
import boot.spring.po.Post;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface PostService {
	List<Post> gelallpost();

	void savePost(Post post);

	void deletePost(int postId);

	Page<Post> getPostsByPage(Pageable pageable);

	Post getPostById(int postId);

}
